package com.wss.day04;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/22
 */
public class FlyTest {
    public static void makeFly(CanFly flyer) {
        flyer.fly();
    }

    public static void main(String[] args) {
        Airplane airplane = new Airplane();
        Bird bird = new Bird();
        makeFly(airplane);
        makeFly(bird);
    }
}
